import VueRouter from 'vue-router'
import home from './components/home.vue'
import email from './components/email.vue'
import cart from './components/cart.vue'
import search from './components/search.vue'
import journalism from './components/child/journalism.vue'
import son from './components/child/son/son.vue'
import imges from './components/child/son/imges.vue'
import imgs from './components/child/son/imgs.vue'
import shop from './components/child/son/shop.vue'
import shopChild from './components/child/son/shopChild.vue'




var router = new VueRouter ({
    routes :[
        {path :'/',component:home},
        {path :'/home',component:home},
        {path :'/cart',component:cart},
        {path :'/email',component:email},
        {path :'/search',component:search},
        {path :'/journalism',component:journalism},
        {path :'/son:id',component:son},
        {path :'/imges',component:imges},
        {path :'/imgs:id',component:imgs},
        {path :'/shop',component:shop},
        {path :'/shopChild:id',component:shopChild}
    ],
    linkActiveClass : 'mui-active'
})
export default router